﻿namespace Pp.Dto
{
    using System;
    using System.Web;
    using Validators;

    public class ProjectCreate
    {
        [NumberValidator]
        public double? ProjectCosting { get; set; }
        public bool AllowAllowRequest { get; set; }
        [EmptyValidator]
        public virtual Guid CategoryId { get; set; }
        [EmptyValidator]
        public virtual string Name { get; set; }
        [EmptyValidator]
        public virtual string Description { get; set; }
        [EmptyValidator, MaxLengthValidator(200)]
        public virtual string SmallDescription { get; set; }
        public virtual string Image { get; set; }
        public virtual HttpPostedFileBase ImageFile { get; set; }
        public virtual string SignatureCollect { get; set; }
    }
    public class ProjectEdit : ProjectCreate
    {
        [EmptyValidator]
        public Guid? Id { get; set; }
    }

}